package com.cuijq.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Classname EduMain
 * @Description TODO
 * @Date 2021/3/24 21:03
 * @Created by CuiJQ
 */
@SpringBootApplication
@ComponentScan(basePackages="com.cuijq")
@EnableDiscoveryClient  //nacos注册
@EnableFeignClients     //调用
public class EduMain {

  public static void main(String[] args) {
    SpringApplication.run(EduMain.class, args);
  }
}